#ifndef _CLI_H_
#define _CLI_H_

#include "types.h"
#include "err.h"
#include "semaphores.h"

#define CLI_SHARED_MEM "cli"

/*
* shared memory
*/
typedef struct
{
    sem_t cli_sem;
    uint8_t cmd_buffer[128];
    uint8_t prompt[128];
    uint8_t key_code;
    bool client_busy;  // shell process is busy processing the command
}cli_cmd_info_t;


err_t cli_init(void);
#endif
